package com.suxin.rpc;

import com.alibaba.fastjson.JSONObject;
import com.suxin.rpc.domain.LoginRpcQuery;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author Tang
 * @classname TokenRpc
 * @description [  ]
 * @date 2021/10/14 17:27
 */
public interface TokenRpc {

    @PostMapping(value = {"/getToken"},produces = {"application/json;charset=utf-8"})
    public JSONObject getData(@RequestBody LoginRpcQuery loginRpcQuery);

}